package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 帮扶评价对象 help_evaluate
 *
 * @author ruoyi
 * @date 2023-01-30
 */
public class HelpEvaluate extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    private Long id;

    /**
     * 写评学生
     */
    @Excel(name = "写评学生")
    private Long studentId;

    /**
     * 被评老师
     */
    @Excel(name = "被评老师")
    private Long teacherId;

    /**
     * 评价内容
     */
    @Excel(name = "评价内容")
    private String evaluate;

    /**
     * 评分
     */
    @Excel(name = "评分")
    private Long score;

    @Excel(name = "帮扶")
    private HelpInfo student;
    @Excel(name = "评价老师")
    private Teacher teacher;

    public HelpInfo getStudent() {
        return student;
    }

    public void setStudent(HelpInfo student) {
        this.student = student;
    }

    public Teacher getTeacher() {
        return teacher;
    }

    public void setTeacher(Teacher teacher) {
        this.teacher = teacher;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setStudentId(Long studentId) {
        this.studentId = studentId;
    }

    public Long getStudentId() {
        return studentId;
    }

    public void setTeacherId(Long teacherId) {
        this.teacherId = teacherId;
    }

    public Long getTeacherId() {
        return teacherId;
    }

    public void setEvaluate(String evaluate) {
        this.evaluate = evaluate;
    }

    public String getEvaluate() {
        return evaluate;
    }

    public void setScore(Long score) {
        this.score = score;
    }

    public Long getScore() {
        return score;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("studentId", getStudentId())
                .append("teacherId", getTeacherId())
                .append("evaluate", getEvaluate())
                .append("score", getScore())
                .append("student", getStudent())
                .append("teacher", getTeacher())
                .toString();
    }
}
